From de7361718def0f6bb32294bb074841ba2c0a3ce6 Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Tue, 21 Feb 2023 16:25:35 +0700
Subject: fix

---
 src/pages/my/invoice/[id].jsx | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 src/pages/my/invoice/[id].jsx

(limited to 'src/pages/my/invoice/[id].jsx')

diff --git a/src/pages/my/invoice/[id].jsx b/src/pages/my/invoice/[id].jsx
new file mode 100644
index 00000000..a3cbeb5c
--- /dev/null
+++ b/src/pages/my/invoice/[id].jsx
@@ -0,0 +1,13 @@
+import AppLayout from "@/core/components/layouts/AppLayout"
+import InvoiceComponent from "@/lib/invoice/components/Invoice"
+import { useRouter } from "next/router"
+
+export default function Invoice() {
+  const router = useRouter()
+
+  return (
+    <AppLayout title="Invoice & Faktur Pajak">
+      <InvoiceComponent id={router.query.id} />
+    </AppLayout>
+  )
+}
\ No newline at end of file
-- 
cgit v1.2.3


From f66b12fd1d0b83af0d7230d7b1565fbe00afbe3c Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Wed, 22 Feb 2023 11:03:34 +0700
Subject: prettier

---
 src/pages/my/invoice/[id].jsx | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

(limited to 'src/pages/my/invoice/[id].jsx')

diff --git a/src/pages/my/invoice/[id].jsx b/src/pages/my/invoice/[id].jsx
index a3cbeb5c..0d409878 100644
--- a/src/pages/my/invoice/[id].jsx
+++ b/src/pages/my/invoice/[id].jsx
@@ -1,13 +1,13 @@
-import AppLayout from "@/core/components/layouts/AppLayout"
-import InvoiceComponent from "@/lib/invoice/components/Invoice"
-import { useRouter } from "next/router"
+import AppLayout from '@/core/components/layouts/AppLayout'
+import InvoiceComponent from '@/lib/invoice/components/Invoice'
+import { useRouter } from 'next/router'
 
 export default function Invoice() {
   const router = useRouter()
 
   return (
-    <AppLayout title="Invoice & Faktur Pajak">
+    <AppLayout title='Invoice & Faktur Pajak'>
       <InvoiceComponent id={router.query.id} />
     </AppLayout>
   )
-}
\ No newline at end of file
+}
-- 
cgit v1.2.3


From ffa261e6adef70a2845878cf93e6e492eb8cee62 Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Mon, 27 Feb 2023 10:49:45 +0700
Subject: footer

---
 src/pages/my/invoice/[id].jsx | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

(limited to 'src/pages/my/invoice/[id].jsx')

diff --git a/src/pages/my/invoice/[id].jsx b/src/pages/my/invoice/[id].jsx
index 0d409878..4938d8f8 100644
--- a/src/pages/my/invoice/[id].jsx
+++ b/src/pages/my/invoice/[id].jsx
@@ -1,4 +1,5 @@
 import AppLayout from '@/core/components/layouts/AppLayout'
+import IsAuth from '@/lib/auth/components/IsAuth'
 import InvoiceComponent from '@/lib/invoice/components/Invoice'
 import { useRouter } from 'next/router'
 
@@ -6,8 +7,10 @@ export default function Invoice() {
   const router = useRouter()
 
   return (
-    <AppLayout title='Invoice & Faktur Pajak'>
-      <InvoiceComponent id={router.query.id} />
-    </AppLayout>
+    <IsAuth>
+      <AppLayout title='Invoice & Faktur Pajak'>
+        <InvoiceComponent id={router.query.id} />
+      </AppLayout>
+    </IsAuth>
   )
 }
-- 
cgit v1.2.3

